package pl.skubicha.response;

import java.io.Serializable;

import org.hibernate.validator.constraints.NotEmpty;

public class StudentsForGroupsDTO implements Serializable {

	private static final long serialVersionUID = 7694112037043015024L;

	private Integer id;

	@NotEmpty
	private String studentFirstName;

	@NotEmpty
	private String studentLastName;

	public StudentsForGroupsDTO() {

	}

	public StudentsForGroupsDTO( final Integer id, final String studentFirstName, final String studentLastName ) {
		this.id = id;
		this.studentFirstName = studentFirstName;
		this.studentLastName = studentLastName;
	}

	public Integer getId() {
		return id;
	}

	public void setId( final Integer id ) {
		this.id = id;
	}

	public String getStudentFirstName() {
		return studentFirstName;
	}

	public void setStudentFirstName( final String studentFirstName ) {
		this.studentFirstName = studentFirstName;
	}

	public String getStudentLastName() {
		return studentLastName;
	}

	public void setStudentLastName( final String studentLastName ) {
		this.studentLastName = studentLastName;
	}

	public String getFullName() {
		return this.studentFirstName + " " + this.studentLastName;
	}

}